package com.fql.research.sys.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fql.research.sys.dao.RoleDao;
import com.fql.research.sys.domain.User;
import com.fql.research.sys.service.RoleService;

/**
 * 
 * @author fanql 2017年7月14日
 *
 */
@Service
public class RoleServiceImpl implements RoleService {
	@Autowired
	private RoleDao roleDao;
	
	@Override
	public List<String> getByUserName(User user) {
		return roleDao.getByUserName(user);
	}

}
